package randomNum
{
	import overall.Iscene;
	import overall.dialog.DialogManager;
	import overall.manager.LayerManager;
	
	import starling.display.Quad;
	import starling.display.Sprite;
	import starling.events.TouchEvent;
	import starling.text.TextField;
	
	public class RandomNumScene extends Sprite implements Iscene
	{
		private var _bg:Quad;
		public function RandomNumScene()
		{
			super();
			_build();
			_addEvent();
			RandomNumManager.instance.start(this);
		    DialogManager.instance.show("5647867asdas5d456a78sd5a4sd56as");
			
			
		}
		private function _build():void
		{
			_bg=new Quad(LayerManager.instance.stageWidth,LayerManager.instance.stageHeight,0xFF0F0F);
			addChild(_bg);
		}
		private function _addEvent():void
		{
			_bg.addEventListener(TouchEvent.TOUCH,_touchBg);
		}
		private function _touchBg(e:TouchEvent):void
		{
			DialogManager.instance.show("5647867asdas5d456aerterterterterterter78sddsfsdfZ窗口中速度和防空收到回复后开始5a4sd56as");
		}
		public function destroy():void{
			
		}
		public function setText(str:String):void
		{
			
		}
	}
}